<template>
  <MarsMap :url="configUrl" map-key="test" @onload="marsOnload" />
  <!-- BUG:不清楚如何才能取消引入这个变量 -->
  <!-- <MarsMap : map-key="test" @onload="marsOnload" /> -->

</template>

<script setup lang="ts">
import * as mars3d from "mars3d";
import MarsMap from "./components/mars-work/mars-map.vue";

const Cesium = mars3d.Cesium;

const marsOnload = (map: any) => {
  console.log("Mars3d map has loaded.");
}
</script>

<style></style>
